made connector function, example and set up tests