modify client to automaticallyt send back response