Interfaces: factories simple example 2