finish the block