added filtering of reads