convert array() to []
Merge pull request #144 from rodmcnew/tres

convert array() to []