Added fermat prime thingy