making request work with response handlers