curl possible implementation