endquiz function