refactoring nf calling send entity