started to implement date data_add and category in the document class.