Set the intervals right