we can commit protocol spec
can pass endpoint from outside the library