adding functionality to clear moves