add return array for read method