added hasFields; connect() attempts to use cache
code for welcome02 tutorial