Now extracts UIDs