added vars to ai