reorg of block parts to accommodate if-then-else