removed 2 debug statements