added two get_names functions