manage partment book and some function