Arrays integrated with gui