Not sure I follow everything happening here, but it seems like the intended operation is unable to proceed at this point, so we return an empty array. Is this the best way to go? (it might be, just interested in why)