working on a way to make sure the connection works