add log and stats
0.3.37