Changed for format function api changes