optimize operators using the new local{ } syntax