Updated examples for betti, res