Show function value on exit