added 'truncate' filter