wrap long lines
add extra newline
store duration as integer
generate graph