if to pattern match