Add functions to check the saved data