trying to wrap libraries