added support for unconstrained arrays, adding array examples