streamlined the response struct