Remove static specifier, wonder why it was there in the first place.
Get rid of friend, again bad design precipitates worse design.
More code clean up. More sensible design now.