The simplest example of the Purity pattern/framework