resolving linking issues