Removed obsolete function