added get_name function()