removed get_type