Used typedef for declaring a block