started working on lib for programs