simple diagram, to be replaced