implementation of transitional filter