class and general data unit