remove dead code
never define a function in a header, unless it is inline!