handles an array of length 2