quick hack for getting connect. not sure how it works