split declaration onto 3 lines
switched to using analog switches