move interval timeout to options