removed unnecessary imports and variables