add some lib code