submit array demo