added NEI base code changes