add demonstration of hiding state