tuning some parameters