add rows and cols getter