reorganize library