remove commented code
update the time delay