deleted obsolete functions.