An example of using a singleton design pattern