One not complete example of factory