hide on click and took away the inline function call