first conditional didn't work. so changed < to >