change to requests method