WIP implementing library