Tried some other things to resolve linker error