changed delay to 100ms to be more consistent.