add switchActionsExample