class representation