custom class inherited from datetime added