removed obsolete code
Updated the documentation