Deleted a couple of console.log for debugging purposes