removed console.log
changed hide/show to hideElem/showElem