add declaration the variable setPos

add declaration the variable setPos