rudimentary filtering and full marking