setVars function

Assign Values to State Variables