Updated example for hidden/visible