work in progress: adds dirty code for backup