ran code through a format checker. There should be no more problems with missing or wrong indents