Built d2b, d2a and contolling statements