add libraryCtrl