some tuning of parameters