set input interval