FW Added the var for the function

FW Added the var for the function