Added distance

Added distance