add a basic block and type ns