- convert the lists of switches to use the linked list macros