removed debug print outs