added median keys to time format