assign var to prompt