Added add-method.js