attempt #7 to resolve ref issue