fixed linking error on line 16