why not return null instead of an empty array