Removed a print statement
Removed some unused code