dev in progress for the output filter