Removed unused variable and whitespace