adding get request value function.