all functionality for library is implemented, still have to work