modified Request and Responce type