added angleDist