format the row