redoing logging adding light comment