new plan: functions that want 'tmp' can declare it
2 files changed