moves Ref and Name away