needed lower() on 2 lines not 1