added server-side format mode