some small improvements towards creating the library