distance basics