regentime = 30 delay = 30