added proper format for return array