beginning nan@1.0.0 conversion