finished c3dl demo