enumerate with block