switchAddded method implemented.