Add earlier logging