Copied dblibrary.cpp to libraryStruct.cpp for modification this week