delete obsolete function