safened cross-scope use of references
made stray literal errors balder
ref <- reference