adding variables document