Updated BasicDemo example