removed obsolete code.