set a private in mastermind class