Base Pathwork implementation - Final