cols query controller