simple find unique function