start to merge the original connection manager