sieve does not seem to be working