added sample my_block code