adjust param to optimize