simplify conditional with new list