disabled debug output
remove obsolete function