change results to array.. not working yet