add support for required vars