-added HasCfsCondition
-code format