add variable to controller