changed delay counter to 100000