updated examples (but non-working examples left unmodified)