minor example improvements