adding CD data storage and adding more notification and log code