removed console.log's, typos, etc