using nnhf as module