corrected linker error