removed a couple of console.logs that were for debugging