add simple time diff support