refs.writeLocal() more succinct