changed empty object against null and renamed FieldRef method as discussed