added quantity relationship to npn table