formatted the code w/more spacing