This method should either be changed to void or return a bool : check your compilation warning!!!