add variable action

not done yet
This method should not return anything.