Ethanr: made the change to compare_name