add class diaglam.
modified class diaglam.