changes for dark-Library