Add some time logic.