fixed a bunch of examples too.