dist2 added