Added code to verify that the data is from a legitimate source