merge various utility code into the library