add diagram of functional structure