using delay when attack