removed print debug statements