work on mastermind example