removed print/debug statements