DOC: Add var to promise