implement clsLog