I am stuck that why it is not picking up the value what's wrong in my code