removed unneeded debug code