added go_set_compare function