Gets locations and majors working as desired