change the library example slightly