make lastUid an array