Revert "class dia"

This reverts commit ab488cfe9adad76735b38018bc862bcbfe4a5ae9.