can not retrieve data from an array