add row classes