adding new getCurlInfo method