removed dependency on npm modules