Now moving 'values' out of scope of the function invocation

Also reinstating 'does not compile' as an answer, since it seems more plausible now
More reformatting