switched to using uuids instead of array indexes