Refactoring FramworkCondition