Demo of McCabe complexity moving things into a separate function