updated dom sample