Added block filtering