Added a couple of console.log's