implemented basic state-based filter queries