+1 for range end