removed unused imports and prints