remove the result function