minor note on SharedState creation.