tweaking requests functionality