working on lib