updted to 1.2 on npm