fixed typo, removed extra lines that weren't working