Primelist function added