Added initial searchByMajor function