Actually better yet, can this take an array of strings rather than a list and throw an ArrayOutOfBoundsException?