adding timing in the ouput