add isElectron and isMuon