switching codecha to requests