processing server response