make it a lib