minimal support for array passing