Use arrray instead of lists for components and connections