started implementing backup functionality