_name function simplification