try res.write