refactoring to extract fake data creation