switched framework