Use local assignment first and modify field variable when necessary