changed indenting the code