allow for empty arrays