connection is now passed through correctly