delete obsolete code