add delay to scanner