Solved linking problem