added mock connection