Extended the example with cyclomatic complexity