avoid warnings by using the table class and not var