add variable controller