Added missing legalvar