add some functions of record