tweaking the generator