remake the XP remain system