updated to use latest guzzle