create results array for graphing