Creating an Easier Connect Function