preparing for optimistic offline locking