using NAN , DNT for local testing and works in 0.8,0.10