added int array support