adding classes to tables