add variables listener.