switch to temp array
Merge pull request #5 from deebost/dataStructure

switch to temp array