return enum object from reverse_iterate