Added reverse path search