refs is also a one-time variable