added ability to calculate reverse path