Separated function of temp name parts -> name