added basic diagram