attempt #6 to resolve ref issue