function quitter