I went through a couple of these. You need to create a private bool for shared.