started adding flags to sieve