rewriting Backup class