split to library.