Adding some more console logging