onGet and onFail implement