made get_exp_type return an enum as it should