Add DDB_time, DDB_sleep functions