got the example to work