adding better messaging in the DOM