added XN and XP