removed unused imports; code formatting