Rows and cols should now be variables