updated statements filter, added documentation