add method to access library implementation