better logging, messages, format