added maprows and mapcolumns