removed some debugging statements