got the examples to work