formatting the code and remove tabs