allow generations param with custom data