first generateParams version