add build stat, close issue #7