add: create reformat functions and add change refer parameter