handling tbody part 1