Since this switch only has 2 paths, it might be better as and if/else