- updated delay example without using stagexl