Added an example of the Functional Constructor pattern