add code to initialize params randomly