add basic block spawning