add some curl methods