allow to set detection interval