implemented path api