delay changed to 100 cycles (0.0001 sec)