add last_response and client= method