BUG: working on linker errors