allow users to set the interval