complete replaceNestedConditionalwithGuardClauses.