How the row mapping happens?