Outputting the data to match DB.