modified for node version v0.10.11