REFACTORING: snowball generator