adding row classes to table