updated variable name in congrats function