got rid of warnings triggered by unused imports and unused variables