Showing how to use the Factory