added plotting for timestamps