I think you first build the param and the use it in the function

Signed-off-by: emanuele <emanuele45@gmail.com>