new version without requests package