put the delay time on 100ms and tested the whole thing, seems okey