rename block to element, to prevent "block" being confused for "hide"