use stringrefs where appropriate