split request function