added array support
Merge pull request #2 from poser55/arrays

added array support