removing obsolete functions