first attempt at using '->*" and '=>*' for generators