updated request function to return response from promise
updated tag