moved 'can_backup' function in switch class