kill obsolete code