basic block exercises