use new syntax for res.status