Logs in console better for debugging