changed key to time interval by minute