tidy up the code (remove some blank spaces)