added support for array items