Updated basic example