add variable/value patterns