NameError: name ‘REF’ is not defined

NameError: name ‘REF’ is not defined