added some Logs for debugging