Added function plotTimes