Updated header to work with any number of rows and columns