change the result callback