using Ref version