Changed parameter to get_names