Added example to connect