fix tons of bugs. make the example work!
make the example a bit more fancy