working on request and response