move name assignment to language class