return array rather than list()