Don't reinvent IndexError here