generate promise variable content