add some more log code