Prefix function variables with 'local'