parsing class rows