lib as dependency