create widget for manipulating arrays