Using ```docElem``` is good because it does not shadow the ```doc``` variable. We want to avoid reassigning variables whenever reasonably possible. Again this is for better code comprehension, and guards against subtle bugs.