added distance stub