renamed mapData field to data