tweaking parameters of generation