extend from filter instead of writer