getting response structure implemented