add support for closure view variables