Implemented frame filtering