Added primeloop