removing curl calls