How to access previous data to be used as verification