new class diaeryrecord and some test