Shared state - an easier approach.