removed unused imports and variables