setting request dynamically.