made changes to backup function to make it clear what it is doing