turn totalResult back to 0