added more functions to library