started working on doRequest