final version of backup part