Updated indenting checked for errors