elminated unnessisary print statement