maybe this will fix the problems with linking