adding connectionPreface.