adding time insertion in an average