reformat myLibrary print to use stringbuilder