use old enum iter