transformed names into an list