adding programmatic filtering to erx mockup