using module.exports for stitch.rb