working version of the array editor (editor for _array types)