added operator and nextmove