refactored code creating get-hobby, get_cohort, get_name methods