modified position of res.responce()