trying to diagnose a linking problem