renamed get_profile to parse_profile