Add rank being saved to memory