Added some more console logging stuff