removed obsolete code fragments