example of res.format