only for node >= 0.10.0