add decret time key routines