performance improvents (replace forEach with for)
v 0.0.19