Using other functions to get the rows