return array with data