added support of inner arrays