add the input to get the requested id
fix the mechanism to deal with requested id