Replace enum with block to for-in