add diagram of do statement