Example code for AppleNick3's iBlocks plugin