cleaned code line spacing and indentation