Prototype for crossfilter