pulled confirm match into controller helper