add switch result component