pecific functions of dist