update the format function as Susan says.