record from last to first