log a bit nicer but not perfect