developing database.ModernQuery