would be nice to add a ref/link to the format function