added tuning options for slow queries