add variable to validate prompt