added the majors implementation.