updated block to have matching close block name