Not sure how to get around the linking errors