add lastRow method 3