create a lib for that