add -Nx support