deleting obsolete code