added automatic naming