brackets in ref notation mean optional, not to taken literally