Enhanced StatLog and did some comment