At most institutions, the system allows a small amount of discretion. A candidate may be elevated to the next degree class if his or her average marks are close to (or the median of their weighted marks achieves) the higher class, and if they have submitted several pieces of work worthy of the higher class. However, even students with a high average mark may be unable to take honours if they have failed part of the course and so have insufficient credits.