removed extra spaces in code for consistence