add nie support for endorsments