obsolete function deleted.