Finalizing  data stuff