Refactored ID and VAR, added eq statements
Mergin