removes obsolete functions