add ly.reformat and let reformat use it