implementing unknown-array-side