I think this if/else is reverse.