adding timing plot