Trying to get access to the element, but the ref always returns an undefined.  