translated all the examples in the documentation