employing global esieve variable