removing obsolete debug code
routine changes