added responseType property to response