added a filter for frame sequence