deleted older obsolete functions