removing the obsolete code