added generate_from_params methode to corresponding module