i originally did that, then i noticed if I do that, i have to duplicate try/catch block in handleResult.

i could make another function which includes the try/catch