moved switchDetail into Avior 2.0