examples was rewritten