Changed getting result to return

Doesn't get the result through a callback anymore