removed the whole obsolete function