and once we are on it, why calculate the "function f() endfunction" at all?

just score the actual code
_________________________
!

download KiXnet