code compiles in blocks finally