added dist-dep conn and dale's law related changes