added rows and cols attributes to map