varTable is now being constructed correctly