handling empty requests