improves logging
improves logging