finally, the block works