made curl calls private