added slow query controller