fixing indenting and whitespace + removing unneccessary pass statement