add comments
code for plot 2
plus fix datetime