removed unnecessary debug code