picking parameters for optimization