add option number to format; remove formatNumber