added distance example