proper logging, some notes