basic query manager
basic query manager