Added Majors Chart function