add NCore class