working through the connect example.