Patch v3 arrays

replacing array() with new style []