added distance from cache complete