identical() is used for searching dot_pos