removed some debug statements