almost finished the block program