a new function IsPrime() was added