Pass array to system as suggested by Jon