finished(?) log class (added CD method)