struct ref