Added jnn mode.