Removed unused imports as well as printouts