removed the inline directive, caused a linker problem