it's more a question: should we return an empty array or throw an error?