filter

*added model for filter
*implemented filterData in the pro way