deleted unused lines, made n's lowercased, and fixed pep8 fomatting