what makes you so sure that there will be only two values in the array?