adding some functionality to the library