MAINT: work in progress -- switching model