added simple diagram