randomSerialNumber not the same as Objective C example in BNR book