found workaround for creating arrays, replacing type with Array, and setting type indirectly with fill object instead