unique name generation, logging