refactor master_science_class