before curl