curl implemented