Trying to get library file working