Create methods.js