Properly formatting res.