use new format function