Working with maxnumberofguess