Adding some logs to ease understanding