Adapted Vendor with refactoring of examples.