better client response method