internal connection to library