getting rid of linker error