Any reason to require indices starting at 1 for input?