adding class to table