removing unneeded debug code