testing for ref issue