removed obsolete function