You must not use any local variables in a controller due to concurrency issues.