map to format function params