simulated the real use of a lib