merge log graph branch into master
add avg printed line