Now completed the panel with 27 switches and it works perfectly. Thanks to all those who helped. Bob :)