test refactoring use now the interface