changed delay back to 1 sec