removed obsolete code by commenting it out