adding in connection and example model