clarify conditional logic