some changes to request sending