Interfaces: factories simple example