Now using the Result type.