Saving before switching to vectors