Made response processing (need to be tested)