refactoring handleArray to make room for piping #1
w00t declarative piping is now working - #1