Learning switch for mulcitple