now using up-to-date language features - moved old code away from pkg (defunct anyway because of language changes) R=r OCL=17916 CL=17916