stopping here so I can convert to node.js