Rewrite the Result class