Added more functions to the library