removed obsolete functions