added a third, average-based path